//
// Created by wkm on 2023-12-09.
//

#ifndef MYSYSTEMCLEARNING_CHECK_RESULTS_H
#define MYSYSTEMCLEARNING_CHECK_RESULTS_H

#include <iostream>
#include "systemc.h"
#include "../../ModelingExample/ShiftRegister/usr_define.h"

SC_MODULE(check_result) {
    sc_in<bool> check_clk;
    sc_in<sc_uint<WIDTH>> expected_out, actual_out;

    void prc_check_result();

    SC_CTOR(check_result) {
        SC_METHOD(prc_check_result);
        sensitive_neg << check_clk;
    }
};

#endif //MYSYSTEMCLEARNING_CHECK_RESULTS_H
